package com.jule.teenpatti.mail.model;

import com.jule.core.jedis.StoredObj;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * 玩家已领邮件记录
 */
public class UserAwardMap extends StoredObj{
    /**
     * <mailConfigId,是否已领>
     */
    private Map<Integer,Boolean> records = new HashMap<>();

    public void put (int mailconfigId){
        records.put(mailconfigId,true);
    }
    public boolean isContainsKey(int mailConfigId){
        return records.containsKey(mailConfigId);
    }

}
